﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Quotation
{
    public class MarketInfo
    {
        /// <summary>
        /// 市场时间与DB时间的偏差
        /// </summary>
        public TimeSpan MarketTime { get; set; }

        /// <summary>
        /// 交易日
        /// </summary>
        public Date TradeDay { get; set; }

        /// <summary>
        /// 市场信息更新时间
        /// </summary>
        public Time UpdateTime { get; set; }

        /// <summary>
        /// 市场当前状态
        /// </summary>
        public MarketStatus Status { get; set; }

        /// <summary>
        /// 交易时间段
        /// </summary>
        public TimeRangeCollection TradingSession;

        /// <summary>
        /// 画图的区间段
        /// </summary>
        public TimeRangeCollection ChartTimeSlots;
    }

}
